<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" >
<!--[if lt IE 9]>
　　　　<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
　　<![endif]-->
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/sytle.css?v=0.2&d=2016-11-08">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-2.1.4.min.js"></script>
<title>全屋整理-介绍</title>
</head>
<body>
<div class="hgj">
  <div class="page-all"> 
    <!--头部开始-->
    <header>
      <div class="navbar">
        <ul>
          <li class="l-back"><img src="${pageContext.request.contextPath}/images/left.png" alt="返回"/></li>
          <li class="n-word">全屋整理</li>
          <li class="n-intro"></li>
        </ul>
      </div>
    </header>
    <!---内容开始--->
    <div class="container">
      <div class="clean-pic"><img src="${pageContext.request.contextPath}/images/all-house.png"/></div>
      <div class="intro-bar">
        <div class="intro-bar-left">全屋整理</div>
        <div class="intro-bar-right" style="padding-top:1rem;">单价：120/小时</div>
      </div>
      <!--服务内容-->
      <section class="sugg-time">
        <div class="sugg-title"><span class="list"></span><span class="list-word">服务内容</span></div>
        <div class="s-t-content">
          <p>全屋整理服务分为两种，一种是在不改变当前室内布置的前提下，将现有
            的物品做规整、收纳，使得室内看起来整齐，美观。第二种是在客户同意
            的前提下，对整个室内空间的布局、家具电器的摆放提出全新的方案。</p>
        </div>
        <!--温馨提示---> 
        <div class="sugg-title"><span class="list"></span><span class="list-word">温馨提示</span></div>
        <div class="s-t-content">
          <p>1、全屋整理按小时收费，即服务后再收费。<br>
            2、衣橱整理师上门开始
            计时，服务完成后结束计时，最终费用按时间结算。<br>
            3、若出现服务不
            足一小时价格按120/小时折算成分钟再收费。<br>
            4、全屋整理为特殊服务
            请在服务完成后线上填写反馈单，确保财务的安全性。</p>
        </div>
         <!--预约流程-->
        <div class="sugg-title"><span class="list"></span><span class="list-word">预约流程</span></div> 
        <div class="st-step"><img src="${pageContext.request.contextPath}/images/order-step.png"/></div>
      </section>
    </div>
  </div>
  <footer>
  <form action="${pageContext.request.contextPath}/goods/buy.html" id="myForm" method="POST">
  	<a  class="order-now" href="#" onclick="checkContact();" >立即预约</a>
    <input type="hidden" name="serviceType" id="serviceType" value="12"/>
    <input type="hidden" name="price"  id="price" value="120"/>
    </form>
  </footer>
</div>
<script type="text/javascript">
function checkContact(){
	$.ajax({
	 	url:"/members/checkContact.json",
		success: function(data){
			if(parseInt(data.info)==1){
				$('#myForm').submit();
			}
			if(parseInt(data.info)==0){
				window.location = "${pageContext.request.contextPath}/members/setUpContact.html";
			}  
		}
	});
}
</script>
</body>
</html>